<CFPARAM NAME="boolShowButtons" DEFAULT=true>

<CFOUTPUT>
<LINK REL="StyleSheet" HREF="#client.wstheme_path##client.empcolor#.css" TYPE="text/css">
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>

<TR>
   <TD NOWRAP><FONT color=Maroon style=font:21px Arial>#client.companyname#</FONT></TD>
</TR>

<TR>
   <TD NOWRAP><FONT color=Maroon style=font:20px Arial>#GetForm.DESCRIPTION#</FONT></TD>

</TR>

<TR>
	<TD>
		<TABLE CELLPADDING="3" CELLSPACING="3" BORDER="1" WIDTH="100%">
		<CFLOOP QUERY="GetFields">
			<CFIF #evaluate("GetEntry." & COLUMNNAME)# NEQ "">
				<CFIF #COLUMNTYPE# EQ "ftdatetime">
					<TR><TD><strong>#COLUMNDESC#</strong></TD><TD>#DateFormat(evaluate("GetEntry." & COLUMNNAME), "mmm dd,yyyy")#</TD></TR>
				<CFELSEIF #COLUMNTYPE# EQ "ftMemo">
					<TR><TD><strong>#COLUMNDESC#</strong></TD><TD><TEXTAREA STYLE="border: none;" ROWS=5>
								   #Evaluate("GetEntry." & COLUMNNAME)#</TEXTAREA></TD></TR>
				<CFELSE>
					<TR><TD><strong>#COLUMNDESC#</strong></TD><TD>#evaluate("GetEntry." & COLUMNNAME)#</TD></TR>
				</CFIF>
			</CFIF>
		</CFLOOP>
		</TABLE>
	</TD>
</TR>

<TR>
  <TD ALIGN="right">
	 <CFIF #GetForm.ENABLEMAILAPPROV# EQ "Y" and boolShowButtons>
	 	<CFIF NOT isDefined("sRecordID")>
			<CFSET sRecordID = sNotifyOrigRecordID>
		</CFIF>
		<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH="100%">
		<TR><TD HEIGHT=5></TD></TR>
		  <TR ALIGN="right"><TD ALIGN="right">
			<FORM NAME="frmapprove" METHOD="POST" ACTION="#client.domain#eforms/routing/route.cfm?autolog=yes&userid=#sIntendedRecipient#&companyid=#client.companycode#&id=#URLEncodedFormat(Encrypt(sRecordID, client.ek))#&lastandread=no">
				<INPUT TYPE="submit" NAME="btnApprove" VALUE="Approve" CLASS="bitbtn">
				<INPUT TYPE="submit" NAME="btnReject" VALUE="Disapprove" CLASS="bitbtn">
			</FORM>
		  </TD></TR>
		</TABLE>
	</TD>
</TR>
</TABLE>
</CFIF>
</CFOUTPUT>
